package com.byteshake.ddoffice.ui.home

enum class HomeFragmentTag(val tag: String) {
    HOME_MSG_TAG("HOME_MSG_TAG"),
    HOME_FRIEND_TAG("HOME_FRIEND_TAG"),
    HOME_DISCOVER_TAG("HOME_DISCOVER_TAG"),
    HOME_MINE_TAG("HOME_MINE_TAG");

    companion object {
        fun fromTag(tag: String): HomeFragmentTag? = entries.find { it.tag == tag }
    }
}